package org.charmsoft.dto;

/**
 * @ Author: Allen J L Chen
 * This Class is to
 * 6/4/2025
 **/
public class Field {

    private String name;

    private String fieldType;

    private String sqlDataType;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public String getSqlDataType() {
        return sqlDataType;
    }

    public void setSqlDataType(String sqlDataType) {
        this.sqlDataType = sqlDataType;
    }

    @Override
    public String toString() {
        return "\"Field\": {" + '\n' +
                "name:'" + name + '\'' +
                ", fieldType:'" + fieldType + '\'' +
                ", sqlDataType:'" + sqlDataType + '\'' + '\n' +
                '}';
    }
}

